package y24.m4;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Test9 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
        int mod = 1000000007;
        List<List<Integer>> list = new ArrayList<>();
        for (int i = 0; i < N; i++) {
            List<Integer> num = new ArrayList<>();
            num.add(scanner.nextInt());
            num.add(scanner.nextInt());
            num.add(scanner.nextInt());
            if (num.size() > 0){
                lwc(list,num);
            }
            list.add(num);
        }
    }
    public static int lwc(List<List<Integer>> list,List<Integer> num){
        return 0;
    }
}
